package com.chezhibao;

import com.chezhibao.configuration.HbaseProperties;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class TraceSparkHandleApplication {

    public static void main(String[] args) {
        SpringApplication.run(TraceSparkHandleApplication.class, args);
    }

    @Bean
    public ObjectMapper objectMapper(){
        return new ObjectMapper();
    }

    @Bean
    public HbaseProperties hbaseProperties(){
        return new HbaseProperties();
    }
}
